// Copyright 2012 Christoffer Anselm (DaDummy).
//
// This file is part of OpenMYP.
//
// OpenMYP is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 2 of the License, or
// (at your option) any later version.
//
// OpenMYP is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with OpenMyp.  If not, see <http://www.gnu.org/licenses/>.
//

#ifndef OPENMYP_MYP_MYPARCHIVE_H_
#define OPENMYP_MYP_MYPARCHIVE_H_

#include "openmyp.h"

#include <string>

namespace openmyp {

class MypArchive
{
public:
	bool Open(const std::wstring& filename, bool allowCreate);
	bool Create(const std::wstring& filename);

	void Close();

private:
	bool is_modified_;

	DISALLOW_COPY_AND_ASSIGN(MypArchive);
};

}

#endif // OPENMYP_MYP_MYPARCHIVE_H_